How to save a plot to a file using Matplotlib Python